package com.dcd.service;

import com.dcd.pojo.Different_countries;
import com.dcd.service.impl.Different_countriesServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Component
@FeignClient(name = "donchedi-provider9091", fallback = Different_countriesServiceImpl.class, contextId = "differentCountries")
public interface Different_countriesService {

    /**
     * 查询全部国别
     *
     * @return
     */
    @RequestMapping("/select_all_different_countries")
    List<Different_countries> select_all_different_countries();
}
